﻿using DA;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BL
{
    public class NapChupBL
    {
         NapChupDA napChupDA;

         public NapChupBL()
        {
            napChupDA = new NapChupDA();
        }

        public DataSet timKiemNapChup(string maNapChup)
        {
            return napChupDA.timKiemNapChup(maNapChup);
        }

        public void updateNapChup(DataTable dt)
        {
            napChupDA.danhSachNapChupAdapter.Update(dt);
        }

        public DataSet layDanhSachNapChup ()
        {
            return napChupDA.layDanhSachNapChup();
        }
    }
}
